package com.zhu.util;

import scala.sys.Prop;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Properties;

/**
 * 配置文件加载
 */
public class PropertiesUtil {

    public static Properties getProperties(String path) throws IOException {

        Properties properties = new Properties();
        properties.load(new FileInputStream(path));
        return properties;
    }

}
